<template>
<div>
  hello new tab
  <p>
    <el-button @click="testClose">关闭</el-button>
  </p>
</div>
</template>

<script>
export default {
    name: 'example-new-tab',
    data() {
        return {

        };
    },
    mounted() {

    },
    methods: {
      testClose() {
        // 测试移除一个tab，必须传递菜单唯一标识
        this.$tab.remove('a-3');
      },
    },
};
</script>

<style>

</style>
